/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Portions created by the Initial Developer are
 * Copyright (C) 2012 the Initial Developer.
 * All Rights Reserved.
 *
 * The Original Code is "http://semi-frame.googlecode.com/svn/trenk/".
 *
 * The Initial Developer of the Original Code is the author below.
 */
/**
 * @file FileUtil.h
 * @brief Utility of file.
 * @author mornongcloud
 * @date 2011/11/21
 */

#ifndef SEMIUTILFILEUTIL_H_
#define SEMIUTILFILEUTIL_H_

#include <dirent.h>
#include "semi/util/StringUtil.h"

namespace semi {
namespace util {

/**
 * @brief File utility class.
 *
 * @author morningcloud
 * @date 2010/03/11
 */
class FileUtil {

public:
	virtual ~FileUtil();

	static bool copy(std::string path1, std::string path2);
	static Strings getFilePaths(std::string path);

private:
	FileUtil();
};

}
}

#endif /* SEMIUTILFILEUTIL_H_ */
